<%--
  Created by IntelliJ IDEA.
  author: Jsonor
  date: 2018/6/5 15:46
  description: Description
--%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" isELIgnored="false" %>
<html>
<div>
  <img src="../img/3.png" alt="" style="position: absolute;width: 200px;margin-left: 42%;">
</div>
<head>
  <title>Title</title>
  <style>
    body {
      background: url("../../img/14.jpg") no-repeat;
      background-size: 1920px;
    }
    li {
      list-style: none;
      display: inline-block
    }
  </style>
</head>
<body>
  <div>
    <form action="${pageContext.request.contextPath}/backstage/backstageshowProduct.do">
      <input type="submit" value="照片管理" style="margin-top: 80px; margin-left: 720px;">
    </form>
    <form action="${pageContext.request.contextPath}/backstage/userList.do">
      <input type="submit" value="用户信息管理" style= "margin-left: 720px;">
    </form>
    <form action="${pageContext.request.contextPath}/backstage/findMyPay.do">
      <input type="submit" value="打赏记录"style= "margin-left: 720px;">
    </form>
<li id="headerLogin" class="headerLogin" style="display: list-item;">
  <a href="${pageContext.request.contextPath}/user/login.do"
     style="position: absolute;right:90px; top: 10px;">用户登录|</a>
</li>
<li id="headerRegister" class="headerRegister" style="display: list-item;">
  <a href="${pageContext.request.contextPath}/user/logout.do"
     style="position: absolute;right: 52px;top: 10px;">退出</a>
</li>
</div>
<br>
<form id="Form1" name="Form1" action="" method="post" style="margin-top: 10px;" >
  <table cellSpacing="1" cellPadding="0" width="100%" align="center" bgColor="#f5fafe" border="0">
    <TBODY>
    <tr>
      <td class="ta_01" align="center" bgColor="#afd1f3">
        <strong>打赏记录</strong>
      </td>
    </tr>
    <tr>
      <td class="ta_01" align="center" bgColor="#f5fafe">
        <table cellspacing="0" cellpadding="1" rules="all"
               bordercolor="gray" border="1" id="DataGrid1"
               style="BORDER-RIGHT: gray 1px solid; BORDER-TOP: gray 1px solid; BORDER-LEFT: gray 1px solid; WIDTH: 100%; WORD-BREAK: break-all; BORDER-BOTTOM: gray 1px solid; BORDER-COLLAPSE: collapse; BACKGROUND-COLOR: #f5fafe; WORD-WRAP: break-word">
          <tr style="FONT-WEIGHT: bold; FONT-SIZE: 12pt; HEIGHT: 25px; BACKGROUND-COLOR: #afd1f3">

            <td align="center" width="200px">
              序号
            </td>
            <td align="center" width="200px">
              用户名
            </td>
            <td align="center" width="200px">
              金额
            </td>
            <td align="center" width="200px">
              照片名称
            </td>
            <td align="center" width="200px">
             删除
            </td>
          </tr>

          <c:forEach var="list" items="${pay}" varStatus="status">
            <tr onmouseover="this.style.backgroundColor = 'white'"
                onmouseout="this.style.backgroundColor = '#F5FAFE';">
              <td style="CURSOR: hand; HEIGHT: 30px" align="center"
                  width="5px" >
                  ${status.count}
              </td>
              <td style="CURSOR: hand; HEIGHT: 22px" align="center"
                  width="10px">
                  ${list.username}
              </td>
              <td style="CURSOR: hand; HEIGHT: 22px" align="center"
                  width="20px">
                  ${list.money}
              </td>
              <td style="CURSOR: hand; HEIGHT: 22px" align="center"
                  width="20px">
                  ${list.imageName}
              </td>

              <td align="center" style="HEIGHT: 22px">
                <a href="${pageContext.request.contextPath}/backstage/paydelete.do?id=${list.id}" onclick="return confirm('确定要删除吗？')" >
                  <img src="${pageContext.request.contextPath}/images/i_del.gif" width="16" height="16" border="0" style="CURSOR: hand">
                </a>
              </td>
            </tr>
          </c:forEach>

        </table>
      </td>
    </tr>
    </TBODY>
  </table>
</form>
</body>
</html>
